package com.ease.framework.gef4p.actions
{
	import com.ease.framework.assets.icons.align.AlignIconFactory;
	
	public class VerticalAlignButton extends AlignButton
	{
		public static const xml:XML =  
							        <root>
							            <menuitem label='顶端对齐' id='alignTop'/>
							            <menuitem label='上下居中' id='alignMiddle'/>
							            <menuitem label='底端对齐' id='alignBottom'/>
							        </root>
        
		public function VerticalAlignButton()
		{
			super();
			xmlData = xml;
			
			setStyle("icon",AlignIconFactory.compAlignMiddle);
			
			currentAlign = "alignMiddle";
		}
		
	}
}